<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
  export default {
    name: 'app'
//    methods: {
//      way () {
//        let windowHref = window.location.href
//        if (windowHref === window.location.href) {
//          this.$router.push({path: '/home'})
//        }
//        console.log(window.location.href)
//      }
//    },
//    mounted () {
//      this.way()
//    }
  }
</script>
<style scoped lang="less">

</style>
